import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

let store = new Vuex.Store({
    state: {
        name: '',
        company:''
    },
    mutations: {
        saveName(state, data) {
            state.name = data
        },
        saveCompany(state,data){
            state.company = data
        }
    },
    getters: {

    }
})

export default store